.y-tree {
  font-family: 宋体, "Courier New", Courier, monospace;
  font-size: 11px;
}

.y-tree .tree-node-title {
  display: flex;
  align-items: center;
}

.y-tree .tree-node-title:hover {
  background-color: lightgray;
}

.y-tree .indent,
.y-tree .switcher,
.y-tree .checkbox {
  user-select: none;
  cursor: pointer;
  min-height: 16px;
}

.y-tree .tree-node-title .switcher,
.y-tree .tree-node-title .checkbox {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.y-tree input[type="checkbox"] {
  margin: 0;
}

.y-tree .tree-node-title .tree-node-content {
  flex-grow: 1;
  padding-left: 2px;
}
